<template>
  <div class="header-icon">
    <div class="icon">
      <div class="icon-img"></div>
      <span class="icon-text">网易云音乐</span>
    </div>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'

export default defineComponent({
  setup() {
    return {}
  }
})
</script>

<style scoped lang="less">
.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  .icon-img {
    width: 30px;
    height: 30px;
    background: url('../../../assets/icon.png') no-repeat;
    background-size: cover;
  }
  .icon-text {
    margin-left: 10px;
    color: #fff;
    letter-spacing: 1px;
  }
}
</style>
